Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent specifying preview stabilization option for unsupported devices #462

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

MHShetty
Copy link
Member

@MHShetty MHShetty commented Aug 6, 2024

Helps resolve the issue specified at #457

Video stabilization has two modes, ON and PREVIEW_STABILIZATION, rather than preview and video recorder stabilization being two independent options. PREVIEW_STABILIZATION, the relatively newer option across devices gets chosen when preview stabilization is enabled on the Preview, but this may not be available on all devices,

This PR would ensure that PREVIEW_STABILIZATION is opted for only when its available, and otherwise the default ON mode on devices that support video stabilization in general

(Video stabilization has two modes, ON and PREVIEW_STABILIZATION; the second one gets enabled when enabling preview stabilization which might not be supported on all devices)
@thestinger thestinger merged commit d074c7b into GrapheneOS:main Aug 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants